{extend name="base" /}
{block name="css"}
<style>
        /** 统计快捷方式样式 */
        .console-link-block {
            display: block;
            position: relative;
            color: #fff;
            font-size: 18px;
            padding: 25px 20px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0px 3px 5px rgba(0, 0, 0, .1);
            background-color: rgb(155, 197, 57);
        }

        .console-link-block .console-link-block-num {
            font-size: 40px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .console-link-block .console-link-block-icon {
            height: 70px;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .console-link-block .console-link-block-band {
            background-color: rgb(227, 42, 22);
            font-size: 14px;
            position: absolute;
            width: 80px;
            padding: 0px 0;
            text-align: center;
            transform: rotate(45deg);
            right: -21px;
            top: 8px;
            color: rgba(255, 255, 255, .9);
            z-index: 1;
        }

        /** //统计快捷方式样式end */

        /** 小屏幕下样式 */
        @media screen and (max-width: 992px) {
            .console-link-block {
                font-size: 14px;
                padding: 15px 10px;
            }

            .console-link-block .console-link-block-num {
                font-size: 28px;
                margin-bottom: 0px;
            }

            .console-link-block .console-link-block-icon {
                height: 45px;
                right: 10px;
            }

            .console-link-block .console-link-block-band {
                font-size: 12px;
                right: -25px;
                top: 8px;
            }

        }

        /** 设置每个快捷块的颜色 */
        #consoleLink > div:first-child .console-link-block {
            background-color: rgb(155, 197, 57);
        }

        #consoleLink > div:nth-child(2) .console-link-block {
            background-color: rgb(85, 165, 234);
        }

        #consoleLink > div:nth-child(3) .console-link-block {
            background-color: rgb(157, 175, 291);
        }

        #consoleLink > div:nth-child(4) .console-link-block {
            background-color: rgb(245, 145, 162);
        }

        #consoleLink > div:nth-child(5) .console-link-block {
            background-color: rgb(254, 170, 79);
        }

        #consoleLink > div:last-child .console-link-block {
            background-color: rgb(64, 212, 176);
        }

        /** //设置每个快捷块的颜色end */
    </style>
{/block}
{block name="body"}
<!-- 正文开始 -->
<div class="layui-fluid">
    <!-- 快捷方式 -->
    <div id="consoleLink" class="layui-row layui-col-space15">
        <div class="layui-col-lg3 layui-col-md3 layui-col-sm3 layui-col-xs3">
            <div class="console-link-block" ew-title="外出申请">
                <div class="console-link-block-num">{$data.a}</div>
                <div class="console-link-block-text">会员总数</div>
                <img class="console-link-block-icon" src="/static/hqui/images/homepic1.png">
            </div>
        </div>
        <div class="layui-col-lg3 layui-col-md3 layui-col-sm3 layui-col-xs3">
            <div class="console-link-block" ew-title="请假审批">
                <div class="console-link-block-num">{$data.b}</div>
                <div class="console-link-block-text">文章总数</div>
                <img class="console-link-block-icon" src="/static/hqui/images/homepic2.png">
            </div>
        </div> 
        <div class="layui-col-lg3 layui-col-md3 layui-col-sm3 layui-col-xs3">
            <div class="console-link-block" ew-title="请假审批">
                <div class="console-link-block-num">{$data.c}</div>
                <div class="console-link-block-text">待审客户</div>
                <img class="console-link-block-icon" src="/static/hqui/images/homepic2.png">
            </div>
        </div>
        <div class="layui-col-lg3 layui-col-md3 layui-col-sm3 layui-col-xs3">
            <div class="console-link-block" ew-title="请假审批">
                <div class="console-link-block-num">{$data.d}</div>
                <div class="console-link-block-text">待审提1现</div>
                <img class="console-link-block-icon" src="/static/hqui/images/homepic2.png">
            </div>
        </div>
    </div>
    <!--基础数据-->
    <div class="layui-col-md12 layui-col-sm12">
        <div class="layui-card">
            <div class="layui-card-header">版本信息</div>
            <div class="layui-card-body">
                <table class="layui-table layui-text">
                    <colgroup>
                        <col width="90">
                        <col>
                    </colgroup>
                    <tbody>
                        <tr>
                            <td>当前版本</td>
                            <td>v 3.3</a>
                            </td>
                        </tr>
                        <tr>
                            <td>基于框架</td>
                            <td>六诺云框架</td>
                        </tr>
                        <tr>
                            <td>主要特色</td>
                            <td>微信营销、微信小程序、功能集成一站式解决方案</td>
                        </tr>
                        <tr>
                            <td>客服热线</td>
                            <td>400-6622-003 / 0591-3835 2202</td>
                        </tr>
                        <tr>
                            <td>技术支持</td>
                            <td>福州六诺科技有限公司</td>
                        </tr>
                        <tr>
                            <td>获取渠道</td>
                            <td>
                                <a href="https://www.ennn.cn" class="layui-btn layui-btn-sm layui-btn-danger" target="_blank">下载地址</a>
                                <a href="http://open.ennn.cn" class="layui-btn layui-btn-sm layui-btn-danger" target="_blank">二开文档</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

    </div>
</div>
{/block}
{block name="js"}
{/block}
